package eu.dominicum.ft.pd.mao;

import eu.dominicum.ft.pd.Team;

import javax.validation.constraints.NotNull;

/**
 * Method Arguments Object for {@link eu.dominicum.ft.pd.TeamMember#make(MakeTeamMemberMAO)}.
 *
 * @author Harry Klerks
 * @since 2013M1
 */
public final class MakeTeamMemberMAO {

    /**
     * Yersey number.
     */
    @NotNull(message = "Rugnummer moet een waarde hebben")
    private Integer yerseyNumber;

    /**
     * Team.
     */
    private Team team;

    /**
     * .
     *
     * @param newYerseyNumber -
     */
    public void setYerseyNumber(final Integer newYerseyNumber) {
        this.yerseyNumber = newYerseyNumber;
    }

    /**
     * .
     *
     * @return Integer
     */
    public Integer getYerseyNumber() {
        return yerseyNumber;
    }

    /**
     * .
     *
     * @param newTeam -
     */
    public void setTeam(final Team newTeam) {
        this.team = newTeam;
    }

    /**
     * .
     *
     * @return Team
     */
    public Team getTeam() {
        return team;
    }
}
